// Http Request Enums

/**
 * @description: Request result set
 */
export enum RQ_ResultEnum {
  SUCCESS = 1,
  ERROR = 0,
}

/**
 * @description: Request exception set
 */
export enum RQ_ExceptionEnum {
  REQUEST_AUTH = 401,
  REQUEST_FORBIDEN = 403,
  REQUEST_NOT_FOUND = 404,
  REQUEST_ERROR = 500,
}

/**
 * @description: request method
 */
export enum RQ_MethodEnum {
  GET = 'GET',
  POST = 'POST',
  PUT = 'PUT',
  DELETE = 'DELETE',
}

/**
 * @description:  contentTyp
 */
export enum RQ_ContentTypeEnum {
  // json
  JSON = 'application/json;charset=UTF-8',
  // form-data qs
  FORM_URLENCODED = 'application/x-www-form-urlencoded;charset=UTF-8',
  // form-data  upload
  FORM_DATA = 'multipart/form-data;charset=UTF-8',
}
